<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<title>Login</title>
<link href="<c:url value='/resources/plugins/bootstrap/css/bootstrap.css'/>" rel="stylesheet" />
<link href="<c:url value='/resources/css/login.css'/>" rel="stylesheet" />
</head>
<body>
	<nav class="navbar navbar-default navbar-custom" role="navigation">
		<div class="navbar-header">
			<a class="navbar-brand" href="#" style="color:#ffffff;">易居管理后台</a>
		</div>
	</nav>

	<div class="container">
		<c:if test="${message!=null}">
			<div class="alert alert-danger" role="alert">${message.msg}</div>
		</c:if>
		<form class="form-signin" method="post" action="${pageContext.request.contextPath}/system/login">
			<h2 class="form-signin-heading">LOGIN</h2>
			<input  name="username" class="form-control" placeholder="用户名" required autofocus style="margin-bottom: 5px;">
			<input type="password" name="password" class="form-control" placeholder="密码" required style="margin-bottom: 5px;">
			<button class="btn btn-lg btn-primary btn-block" style="margin-top: 90px;" type="submit">登录</button>
		</form>
	</div>


</body>
</html>